Person = require('../model/Person.js');
function NameController(){

}

NameController.getAll = function(req,res){
    Person.getAll()
        .then(function(list){
            res.send(list)
        })
};

module.exports = NameController;